import {INPUT_CHANGE, BUTTON_CLICK, DEL_ITEM} from './ActionType.js'

export const getInputChange = (value) => ({
    type: INPUT_CHANGE,
    value
})

export const getButtonAddClick = () => ({
    type:BUTTON_CLICK
})

export const getListDtlClick = (index) => ({
    type:DEL_ITEM,
    index
})